﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Configuration;
using System.Xml;

namespace RAP.Framework.Libary.ServerCacheManager.CacheProxy
{
  public interface ICacheProxy : ICacheEvent
  {
    bool Enable { get; set; }

    IDictionary ServerCache { get; }

    IDictionary GetCacheObject(CacheKey key);

    IDictionary GetCacheObject(string key);

    void Initialize(IDictionary configs);

    void Clear();

    bool RemoveCacheObject(string key);
  }
}
